package cmd

import (
	"fmt"

	"sale-admin/internal/define"

	"github.com/spf13/cobra"
)

func init() {
	rootCmd.AddCommand(versionCmd)
}

var versionCmd = &cobra.Command{
	Use:   "version",
	Short: "version",
	Run: func(*cobra.Command, []string) {
		fmt.Print(define.APPVersion)
	},
}
